package com.ruoyi.fts.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户对象 fts_user
 *
 * @author lumberer
 * @date 2024-10-15
 */
@Data
@TableName("fts_user")
public class FtsUser extends BaseEntity{
private static final long serialVersionUID = 1L;

    /** 唯一标识 */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    /** 微信标识符 */
    @Excel(name = "微信标识符")
    private String openId;
    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;
    /** 积分 */
    @Excel(name = "积分")
    private Long integral;
    /** 性别 */
    @Excel(name = "性别")
    private Integer gender;
    /** 昵称 */
    @Excel(name = "昵称")
    private String nickName;
    /** 真实姓名 */
    @Excel(name = "真实姓名")
    private String realName;
    /** 头像 */
    @Excel(name = "头像")
    private String avatar;
    /** 身份证号 */
    @Excel(name = "身份证号")
    private Long idNumber;
    /** 注册时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "注册时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date registerTime;
    /** 最后登录时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "最后登录时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date lastLoginTime;

}